<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts-wordcloud.min.js"></script>

</head>
<body>
    <div id="1dd189be25ae41559de577470c866335" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_1dd189be25ae41559de577470c866335 = echarts.init(
            document.getElementById('1dd189be25ae41559de577470c866335'), 'white', {renderer: 'canvas'});
        var option_1dd189be25ae41559de577470c866335 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "wordCloud",
            "shape": "diamond",
            "rotationRange": [
                0,
                0
            ],
            "rotationStep": 45,
            "girdSize": 20,
            "sizeRange": [
                20,
                100
            ],
            "data": [
                {
                    "name": "New York",
                    "value": 357757,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(147,108,54)"
                        }
                    }
                },
                {
                    "name": "New Jersey",
                    "value": 149037,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(69,130,67)"
                        }
                    }
                },
                {
                    "name": "Illinois",
                    "value": 98298,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(158,57,39)"
                        }
                    }
                },
                {
                    "name": "Massachusetts",
                    "value": 87925,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(14,126,78)"
                        }
                    }
                },
                {
                    "name": "California",
                    "value": 83981,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(121,32,62)"
                        }
                    }
                },
                {
                    "name": "Pennsylvania",
                    "value": 67404,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(79,15,36)"
                        }
                    }
                },
                {
                    "name": "Michigan",
                    "value": 52337,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(31,117,81)"
                        }
                    }
                },
                {
                    "name": "Texas",
                    "value": 51080,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(98,11,130)"
                        }
                    }
                },
                {
                    "name": "Florida",
                    "value": 46936,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(153,98,75)"
                        }
                    }
                },
                {
                    "name": "Maryland",
                    "value": 41664,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(43,87,105)"
                        }
                    }
                }
            ],
            "drawOutOfBound": false,
            "textStyle": {
                "emphasis": {}
            }
        }
    ],
    "legend": [
        {
            "data": [],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "\u7f8e\u56fd\u5404\u5dde\u786e\u8bcaTop10",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_1dd189be25ae41559de577470c866335.setOption(option_1dd189be25ae41559de577470c866335);
    </script>
</body>
</html>
